underlineLinks
Type
property
Summary
Specifies whether grouped text is underlined.
Syntax
set the underlineLinks to {true | false}
set the underlineLinks of <stack> to {true | false | empty}
Description
Use the underlineLinks property to see which text is grouped.
When the underlineLinks property is false, grouped text looks like any other text. When the underlineLinks is true, grouped text is underlined.
If the underlineLinks of a stack is empty, grouped text in that stack is underlined or not, depending on the value of the global underlineLinks property. If the underlineLinks of a stack is true, grouped text in the stack is underlined regardless of the global setting. If the underlineLinks of a stack is false, grouped text in the stack is not underlined regardless of the global setting.
Text with its textStyle set to "link" is treated specially by the clickText, clickChunk, mouseText, and mouseChunk functions: a style run of grouped text is treated as a single word. This makes grouped text handy to use for hypertext or "clickable text" features.
Examples
set the underlineLinks to (not the underlineLinks)
set the underlineLinks of this stack to false
set the underlineLinks of stack myStack to empty
Related
command: show groups, global
function: clickChunk, mouseChunk, clickText, mouseText
glossary: property, grouped text, function, hypertext
object: stack
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile